package com.baomidou.springboot.controller;

import com.baomidou.springboot.service.impl.BaseService;
import com.baomidou.springboot.service.impl.UserServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 代码生成器，参考源码测试用例：
 * <p>
 * /mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/generator/MysqlGenerator.java
 */
@RestController
@RequestMapping("/user")
public class UserController extends BaseController {
    @Autowired
    UserServiceImpl userService;
    @Override
    public BaseService getBaseService() {
        return userService;
	}

}
